html,
body {
  &::-webkit-scrollbar {
    width: 0;
  }
}
.chatModal {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .chat-main {
    // height: 550px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 16px;
    padding: 18px;
    background-image: url('../../assets/img/chatBg.png');
    background-repeat: no-repeat;
    background-color: #fff;
    margin: 30px auto;
    .chat-header {
      height: 28px;
      font-size: 20px;
      font-weight: 500;
      text-align: left;
      color: rgba(0, 0, 0, 0.85);
      line-height: 23px;
      margin: 0 0 8px 0;
    }
    .chat-content {
      // height: 414px;
      height: 82%;
      overflow: hidden;
      overflow-y: auto;
      &::-webkit-scrollbar {
        width: 0;
      }
      .chat-list-preset {
        // position: fixed;
        .basic {
          background: #ffffff;
          border: 1px solid rgba(0, 0, 0, 0.15);
          border-radius: 8px;
          display: inline-flex;
          justify-content: space-between;
          align-items: center;
          font-size: 14px;
          text-align: left;
          color: rgba(0, 0, 0, 0.85);
          line-height: 16px;
          margin-top: 15px;
          padding: 10px 12px;
          cursor: pointer;
        }
        .preset-file {
          max-width: 770px;
          min-width: 180px;
          height: 64px;
          font-weight: 500;
          .filename {
            max-width: 710px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-right: 5px;
          }
        }
        .preset-item {
          display: inline-flex;
          min-height: 40px;
          font-weight: 400;
          &:hover {
            background-color: #f0f0f0;
          }
        }
      }
      .chat-list-empty {
        .title {
          height: 45px;
          font-size: 32px;
          font-weight: 500;
          text-align: left;
          color: rgba(0, 0, 0, 0.85);
          line-height: 38px;
          margin: 8px 0;
        }
        .copyright {
          height: 20px;
          font-size: 14px;
          font-weight: 400;
          text-align: left;
          color: rgba(0, 0, 0, 0.45);
          line-height: 16px;
          img {
            display: inline-block;
            margin: 0 3px;
          }
        }
      }
      .chat-list {
        .listitem {
          padding: 10px 0;
          font-size: 16px;
          line-height: 24px;
          color: #000000;
          display: flex;
          justify-content: space-between;
          align-items: center;
        }
        .question {
          display: flex;
          justify-content: flex-end;
          margin-bottom: 15px;
          .promptText {
            padding: 10px;
            font-size: 16px;
            line-height: 24px;
            color: #000000;
            background: #e4eaff;
            border-radius: 8px 8px 2px 8px;
          }
        }
        .answer {
          display: flex;
          justify-content: flex-start;
          .message {
            white-space: pre-line;
            padding: 10px;
            font-size: 16px;
            line-height: 24px;
            color: #000000;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.15);
            border-radius: 8px 8px 8px 2px;
            display: inline-flex;
            flex-direction: column;
            justify-content: flex-start;
          }
          .thinking {
            display: inline-flex;
            width: 90px;
            justify-content: space-around;
            color: $color-primary;
          }
        }
        .stopBtn {
          width: 96px;
          height: 28px;
          margin-top: 8px;
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
    }
    .limitTip {
      width: 100%;
      height: 16px;
      line-height: 18px;
      font-size: 12px;
      font-weight: 400;
      text-align: LEFT;
      color: rgba(0, 0, 0, 0.25);
      // margin: 0 auto;
      text-align: center;
    }
    .chat-footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin-top: 10px;
      .promptInput {
        height: 36px;
        img {
          cursor: pointer;
        }
      }
      .saveBtn {
        min-width: 36px;
        height: 36px;
        margin-left: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
  .chat-side {
    position: relative;
    // width: 320px;
    // height: 550px;
    width: 45%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    white-space: pre-line;
    &::-webkit-scrollbar {
      width: 0;
      height: 0;
    }
    .txt {
      width: 100%;
      height: 100%;
      border-radius: 16px;
      background-color: #fff;
      padding: 30px 15px 0 15px;
      overflow: hidden;
      overflow-y: auto;
    }
  }
}
.pdf-vue3-canvas-container {
  // width: 360px !important;
  width: 100% !important;
  margin: 0 !important;
}
